package com.qf.service;

import com.qf.dao.RecordDao;
import com.qf.dao.RecordDaoImpl;
import com.qf.pojo.Page;
import com.qf.pojo.Profile;
import com.qf.pojo.User;
import com.sun.prism.impl.Disposer;

import java.util.List;

public class RecordServiceImpl implements RecordService {
    private RecordDao recordDao = new RecordDaoImpl();
    @Override
    public List<Profile> findAllPage(Page page) {
        List<Profile> list = recordDao.selectAllByPage(page);
        return null;
    }

    @Override
    public int findAllPageCount() {
        int count= recordDao.selectAllByPageCount();
        return 0;
    }
}
